package ru.onlinestore.mobile.di

import org.koin.dsl.module
import ru.onlinestore.mobile.data.sources.ProductsRemoteSource
import ru.onlinestore.mobile.data.sources.remote.ProductsApiService
import ru.onlinestore.mobile.data.sources.remote.ProductsRemoteSourceImpl

val dataModule = module {

    single<ProductsRemoteSource> {
        ProductsRemoteSourceImpl(
            service = get<ProductsApiService>()
        )
    }
}